*{
    user-select: none;
    /* 无法选中，整体感更强 */
}

body{
    background: url('../img/wallpaper.jpg') no-repeat;
    background-size: cover;
    background-attachment: fixed;
}

.login{
    position: absolute;
    top: 50%;
    margin-top: -200px;
    left: 50%;
    margin-left: -200px;
    /* absolute居中的一种方法 */
    background-color: whitesmoke;
    width: 400px;
    height: 400px;
    border-radius: 25px;
    text-align: center;
    padding: 5px 40px;
    box-sizing: border-box;
    /* 这样padding就不会影响大小 */
}

.register{
    position: absolute;
    top: 50%;
    margin-top: -250px;
    left: 50%;
    margin-left: -200px;
    background-color: whitesmoke;
    width: 400px;
    height: 500px;
    border-radius: 25px;
    text-align: center;
    padding: 5px 40px;
    box-sizing: border-box;
}

p{
    font-size: 42px;
    font-weight: 600;
}

input{
    background-color: whitesmoke;
    width: 100%;
    height: 48px;
    margin-bottom: 10px;
    border: none;
    border-bottom: 2px solid silver;
    /* 下面的会覆盖上面的步伐 */
    outline: none;
    font-size: 22px;
}

.btn{
    background-color: #59c2c5;
    width: 38%;
    height: 48px;
    border-radius: 8px;
    margin-top: 40px;
    font-size: 28px;
    font-weight: 600;
    color: white;
}
.btn:hover{
    background-color: #59c2a0;
}

div{
    color: #40e9b3;
}

.navbar-default .navbar-nav li ul a:hover{
    color: rgb(119, 92, 241);
    background-color: #005197;
}
/* 一级菜单激活时，二级菜单鼠标移过时属性 */
.navbar-default .navbar-nav li.active ul a:hover{
    color: rgb(99, 109, 206);
    background-color: #022a4d;
}

.nickname{
    margin-left: 40px;
    /* padding-left: 70px; */
    color: rgb(170, 19, 19);
    /* border-left: 70px; */
}